﻿using System;
using System.Collections.Generic;

using E.BLL;
using E.Model;
using E.Web.UI.Page;

using X.Common;

namespace E.Web.training.score
{
    public partial class View : BasePage
    {
        public TestDetailInfoModel model = new TestDetailInfoModel();
        public string[] serialNo = new string[] { "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z" };

        protected override void ShowPage()
        {
            int testid = XRequest.GetInt("id", -1);
            //testid = 86;
            if (testid != -1)
            {
                model = (new QuestionBLL()).GetTestDetailInfo(testid, userid);
            }
        }

        public string GetSerialNo(int index)
        {
            return serialNo[index - 1];
        }

        protected void Page_Load(object sender, EventArgs e)
        {

        }
    }
}
